home *** CD-ROM | disk | FTP | other *** search
- property pOpenState, pPlungerSprite
-
- on new me
- set pOpenState to 0
- set pPlungerSprite to the currentSpriteNum + 1
- end
-
- on mouseEnter me
- cursor(280)
- end
-
- on mouseLeave me
- if rollOver(the currentSpriteNum + 1) then
- nothing()
- else
- cursor(0)
- if pOpenState = 1 then
- set pOpenState to 0
- puppetSound(3, "abort close")
- set the visible of sprite (the currentSpriteNum + 1) to 0
- set the member of sprite the currentSpriteNum to "Abort Closed"
- updateStage()
- end if
- end if
- end
-
- on mouseDown me
- if pOpenState = 0 then
- set pOpenState to 1
- puppetSound(3, "new abort open")
- set the member of sprite the currentSpriteNum to "Abort Open"
- updateStage()
- set the visible of sprite (the currentSpriteNum + 1) to 1
- end if
- end
-